
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.InspectionException;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage InspectionException entities.
 * 
 */
public interface InspectionExceptionDAO extends JpaDao<InspectionException> {

	/**
	 * JPQL Query - findInspectionExceptionByPrimaryKey
	 *
	 */
	public InspectionException findInspectionExceptionByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionByPrimaryKey
	 *
	 */
	public InspectionException findInspectionExceptionByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionById
	 *
	 */
	public InspectionException findInspectionExceptionById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionById
	 *
	 */
	public InspectionException findInspectionExceptionById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionByMemoContaining
	 *
	 */
	public Set<InspectionException> findInspectionExceptionByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionByMemoContaining
	 *
	 */
	public Set<InspectionException> findInspectionExceptionByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionByMemo
	 *
	 */
	public Set<InspectionException> findInspectionExceptionByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findInspectionExceptionByMemo
	 *
	 */
	public Set<InspectionException> findInspectionExceptionByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllInspectionExceptions
	 *
	 */
	public Set<InspectionException> findAllInspectionExceptions() throws DataAccessException;

	/**
	 * JPQL Query - findAllInspectionExceptions
	 *
	 */
	public Set<InspectionException> findAllInspectionExceptions(int startResult, int maxRows) throws DataAccessException;

}